package com.bbtShop.dao;

import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.bbtShop.core.model.*;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * @Author manke
 * @Date 2020/10/13 16:48
 * @Version 0.0.1
 */
@Repository
public interface ProductRecodeMapper extends BaseMapper<ProductRecode> {
    List<ProductSalesTopDto> getProductSales(TimeVo timeVo);
    List<StatisticsDto> getStatistics(StatisticsDto statisticsDto);
    List<StatisticsYearDto> getStatisticsByYear(StatisticsDto statisticsDto);

    DayTotalDto getDayTotal(DayTotalDto dayTotalDto);
}
